package com.hw.springquartz.config;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.stereotype.Component;

@Configuration
@Component
@EnableScheduling
public class ScheduleTask {
	Logger logger=LoggerFactory.getLogger(ScheduleTask.class);
	
	public void info() {
		logger.info("this is Quartz task");
	}

}
